<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>系统设置 | 新增预警设置</title>
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <link rel="stylesheet" href="../../bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
    <!-- Ionicons -->
    <link rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
    <!-- Theme style -->
    <link rel="stylesheet" href="../../dist/css/AdminLTE.min.css">
    <!-- AdminLTE Skins. We have chosen the skin-blue for this starter
          page. However, you can choose any other skin. Make sure you
          apply the skin class to the body tag so the changes take effect.
    -->
    <link rel="stylesheet" href="../../dist/css/skins/_all-skins.min.css">
    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
        <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
    <!-- Ion Slider -->
    <link rel="stylesheet" href="../../plugins/ionslider/ion.rangeSlider.css">
    <!-- ion slider Nice -->
    <link rel="stylesheet" href="../../plugins/ionslider/ion.rangeSlider.skinNice.css">
    <!-- bootstrap slider -->
    <link rel="stylesheet" href="../../plugins/bootstrap-slider/slider.css">
    <link rel="stylesheet" href="../../dist/css/communal.css">
    <style>
      .modal-header{
        background: #ff8500 !important;
        color: #fff !important;
        text-align: center;
      }
    </style>
  </head>
  <body class="hold-transition skin-yellow sidebar-mini">
    <div class="wrapper">
      <!-- Main Header -->
      <header class="main-header">
        <!-- Logo -->
        <a href="../../index.html" class="logo">
          <!-- mini logo for sidebar mini 50x50 pixels -->
          <span class="logo-mini"><b>舆情</b></span>
          <!-- logo for regular state and mobile devices -->
          <span class="logo-lg"><b>舆情监测</b></span>
        </a>

        <!-- Header Navbar -->
        <nav class="navbar navbar-static-top" role="navigation">
          <!-- Sidebar toggle button-->
          <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
            <span class="sr-only">Toggle navigation</span>
          </a>
          <!-- Navbar Right Menu -->
          <div class="navbar-custom-menu">
            <ul class="nav navbar-nav">
              <!-- Messages: style can be found in dropdown.less-->
              <li class="dropdown messages-menu">
                <!-- Menu toggle button -->
                <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                  <i class="fa fa-envelope-o"></i>
                  <span class="label label-success">4</span>
                </a>
                <ul class="dropdown-menu">
                  <li class="header">你有4条邮件！</li>
                  <li>
                    <!-- inner menu: contains the messages -->
                    <ul class="menu">
                      <li><!-- start message -->
                        <a href="#">
                          <div class="pull-left">
                            <!-- User Image -->
                            <img src="../../dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">
                          </div>
                          <!-- Message title and timestamp -->
                          <h4>
                            Support Team
                            <small><i class="fa fa-clock-o"></i> 5 mins</small>
                          </h4>
                          <!-- The message -->
                          <p>Why not buy a new awesome theme?</p>
                        </a>
                      </li><!-- end message -->
                    </ul><!-- /.menu -->
                  </li>
                  <li class="footer"><a href="#">See All Messages</a></li>
                </ul>
              </li><!-- /.messages-menu -->

              <!-- Notifications Menu -->
              <li class="dropdown notifications-menu">
                <!-- Menu toggle button -->
                <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                  <i class="fa fa-bell-o"></i>
                  <span class="label label-warning">10</span>
                </a>
                <ul class="dropdown-menu">
                  <li class="header">你有10条通知！</li>
                  <li>
                    <!-- Inner Menu: contains the notifications -->
                    <ul class="menu">
                      <li><!-- start notification -->
                        <a href="#">
                          <i class="fa fa-users text-aqua"></i> 5 new members joined today
                        </a>
                      </li><!-- end notification -->
                    </ul>
                  </li>
                  <li class="footer"><a href="#">View all</a></li>
                </ul>
              </li>
              <!-- Tasks Menu -->
              <li class="dropdown tasks-menu">
                <!-- Menu Toggle Button -->
                <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                  <i class="fa fa-flag-o"></i>
                  <span class="label label-danger">9</span>
                </a>
                <ul class="dropdown-menu">
                  <li class="header">你还有9个任务待完成！</li>
                  <li>
                    <!-- Inner menu: contains the tasks -->
                    <ul class="menu">
                      <li><!-- Task item -->
                        <a href="#">
                          <!-- Task title and progress text -->
                          <h3>
                            Design some buttons
                            <small class="pull-right">20%</small>
                          </h3>
                          <!-- The progress bar -->
                          <div class="progress xs">
                            <!-- Change the css width attribute to simulate progress -->
                            <div class="progress-bar progress-bar-aqua" style="width: 20%" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100">
                              <span class="sr-only">20% Complete</span>
                            </div>
                          </div>
                        </a>
                      </li><!-- end task item -->
                    </ul>
                  </li>
                  <li class="footer">
                    <a href="#">View all tasks</a>
                  </li>
                </ul>
              </li>
              <!-- User Account Menu -->
              <li class="dropdown user user-menu">
                <!-- Menu Toggle Button -->
                <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                  <!-- The user image in the navbar-->
                  <img src="../../dist/img/user2-160x160.jpg" class="user-image" alt="User Image">
                  <!-- hidden-xs hides the username on small devices so only the image appears. -->
                  <span class="hidden-xs">账户管理</span>
                </a>
                <ul class="dropdown-menu">
                  <!-- The user image in the menu -->
                  <li class="user-header">
                    <img src="../../dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">
                    <p>
                      张先森 - 男
                      <small>WEB 开发工程师</small>
                    </p>
                  </li>
                  <!-- Menu Body -->
                  <li class="user-body">
                    <div class="col-xs-4 text-center">
                      <a href="#">Followers</a>
                    </div>
                    <div class="col-xs-4 text-center">
                      <a href="#">Sales</a>
                    </div>
                    <div class="col-xs-4 text-center">
                      <a href="#">Friends</a>
                    </div>
                  </li>
                  <!-- Menu Footer-->
                  <li class="user-footer">
                    <div class="pull-left">
                      <a href="../../profile.html" class="btn btn-default btn-flat">个人中心</a>
                    </div>
                    <div class="pull-right">
                      <a href="#" class="btn btn-default btn-flat">退出账号</a>
                    </div>
                  </li>
                </ul>
              </li>
              <!-- Control Sidebar Toggle Button -->
              <li>
                <a href="#" data-toggle="control-sidebar"><i class="fa fa-gears"></i></a>
              </li>
            </ul>
          </div>
        </nav>
      </header>
      <!-- Left side column. contains the logo and sidebar -->
      <aside class="main-sidebar">
        <section class="sidebar">
          <div class="user-panel">
            <div class="pull-left image">
              <img src="../../dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">
            </div>
            <div class="pull-left info">
              <p>我的账户</p>
              <a href="#"><i class="fa fa-circle text-success"></i>在线</a>
            </div>
          </div>
          <form action="#" method="get" class="sidebar-form">
            <div class="input-group">
              <input type="text" name="q" class="form-control" placeholder="Search...">
              <span class="input-group-btn">
                <button type="submit" name="search" id="search-btn" class="btn btn-flat"><i class="fa fa-search"></i></button>
              </span>
            </div>
          </form>
          <ul class="sidebar-menu">
            <!-- <li class="header">MAIN NAVIGATION</li> -->
            <li class="treeview">
              <a href="../../index.html">
                <i class="fa fa-home"></i> <span>总  览</span>
                <i class="fa fa-angle-left pull-right"></i>
              </a>
            </li>
            <li class="treeview">
              <a href="../../index2.html">
                <i class="fa fa-area-chart"></i>
                <span>舆情监测</span>
                <!-- <span class="label label-primary pull-right">4</span> -->
                <i class="fa fa-angle-left pull-right"></i>
              </a>
            </li>
            <li class="treeview">
              <a href="#">
                <i class="fa fa-users"></i>
                <span>用户管理</span>
                <i class="fa fa-angle-left pull-right"></i>
              </a>
              <ul class="treeview-menu">
                <li><a href="../../custormer/app-custorm_mg.html"><i class="fa fa-circle-o"></i> app用户管理</a></li>
                <li><a href="../../custormer/web-custorm_mg.html"><i class="fa fa-circle-o"></i> web用管理户</a></li>
                <li><a href="../../custormer/roles.html"><i class="fa fa-circle-o"></i> 角色管理</a></li>
              </ul>
            </li>
            <li>
              <a href="../../fulltext_searching.html">
                <i class="fa fa-search-minus"></i> <span>全文搜素</span>
                <!-- <small class="label pull-right bg-red">3</small> -->
                <i class="fa fa-angle-left pull-right"></i>
              </a>
            </li>
            <li>
              <a href="#">
                <i class="fa fa-android"></i> <span>App管理</span>
                <i class="fa fa-angle-left pull-right"></i>
                <ul class="treeview-menu">
                  <li><a href="../../app_management/divisional.html"><i class="fa fa-circle-o"></i> 部门管理</a></li>
                  <li><a href="../../app_management/grouping.html"><i class="fa fa-circle-o"></i> 分组管理</a></li>
                </ul>
              </a>
            </li>
            <li class="treeview active">
              <a href="#">
                <i class="fa fa-gear"></i>
                <span>系统设置</span>
                <i class="fa fa-angle-left pull-right"></i>
              </a>
              <ul class="treeview-menu">
                <li>
                  <a href="#">
                    <i class="fa fa-calendar-minus-o"></i> 日志管理
                    <i class="fa fa-angle-left pull-right"></i>
                  </a>
                  <ul class="treeview-menu">
                    <li><a href="./customer_login_logs.html"><i class="fa fa-circle-o"></i> 用户登录日志</a></li>
                    <li><a href="./app_login_logs.html"><i class="fa fa-circle-o"></i> app用户登录日志</a></li>
                    <li><a href="./client_push_center.html"><i class="fa fa-circle-o"></i> 客户端push中心日志</a></li>
                    <li><a href="./client_push_logs.html"><i class="fa fa-circle-o"></i> 客户端推送日志</a></li>
                  </ul>
                </li>
                <li>
                  <a href="#">
                    <i class="fa fa-laptop"></i> 偏好设置
                    <i class="fa fa-angle-left pull-right"></i>
                  </a>
                  <ul class="treeview-menu">
                    <li><a href="./source_site_setting.html"><i class="fa fa-circle-o"></i> 来源网站设置</a></li>
                    <li><a href="./morris_conditions_setting.html"><i class="fa fa-circle-o"></i> 默认监测条件</a></li>
                  </ul>
                </li>
                <li class="active"><a href="../yj_setting.html"><i class="fa fa-circle-o"></i> 预警设置</a></li>
                <li><a href="../txl_setting.html"><i class="fa fa-circle-o"></i> 通讯录管理</a></li>
                <li><a href="../fsjl_setting.html"><i class="fa fa-circle-o"></i> 发送记录</a></li>
                <li><a href="../xzzq_setting.html"><i class="fa fa-circle-o"></i> 新增抓取</a></li>
              </ul>
            </li>
            <li class="treeview">
              <a href="../../profile.html">
                <i class="fa fa-user"></i> <span>个人中心</span>
                <i class="fa fa-angle-left pull-right"></i>
              </a>
            </li>
          </ul>
        </section>
        <!-- /.sidebar -->
      </aside>
      <!-- Content Wrapper. Contains page content -->
      <div class="content-wrapper">
        <!-- Content Header (Page header) -->
        <section class="content-header">
          <h1>新增预警设置</h1>
          <ol class="breadcrumb">
            <li><a href="../txl_setting.html"><i class="fa fa-file-text-o"></i>预警设置</a></li>
            <li class="active">新增预警设置</li>
          </ol>
        </section>

        <!-- Main content -->
        <section class="content">
          <div class="panel panel-default">
            <div class="panel-heading">
              预警开关
            </div>
            <div class="panel-body">
              <table class="table table_switch table-hover">
                <tbody>
                  <tr>
                    <td class="text-center" style="width: 150px;">
                      <span style="line-height: 32px">预警开关：</span>
                    </td>
                    <td class="mailbox-name single-choice">
                        <button class="btn btn-warning">打开</button>
                        <button class="btn btn-default">关闭</button>
                    </td>
                    <td class="mailbox-date"></td>
                  </tr>
                </tbody>
              </table>
            </div>
          </div>
          <div class="panel panel-default" style="margin-top: -22px;">
            <div class="panel-heading">
              预警条件设置
            </div>
            <div class="panel-body">
              <table class="table table_cb table-hover">
                <tbody>
                  <tr>
                    <td class="text-center" style="width: 150px;">
                      <span style="line-height: 32px">预警内容：</span>
                    </td>
                    <td class="mailbox-name single-choice">
                        <button class="btn btn-default select-all">全部</button>
                        <button class="btn btn-default">敏感</button>
                    </td>
                    <td class="mailbox-date"></td>
                  </tr>
                  <tr>
                    <td class="text-center">
                      <span style="line-height: 32px">预警来源：</span>
                    </td>
                    <td class="mailbox-name multiple-choice">
                        <button class="btn btn-default select-all">全部</button>
                        <button class="btn btn-warning">微博</button>
                        <button class="btn btn-default">网站</button>
                        <button class="btn btn-default">新闻</button>
                        <button class="btn btn-default">微信</button>
                        <button class="btn btn-default">政务</button>
                        <button class="btn btn-default">视频</button>
                        <button class="btn btn-default">报刊</button>
                        <button class="btn btn-default">论坛</button>
                        <button class="btn btn-default">客户端</button>
                        <button class="btn btn-default">博客</button>
                        <button class="btn btn-default">外媒</button>
                        <b>（可多选）</b>
                    </td>
                    <td class="mailbox-date"></td>
                  </tr>
                  <tr>
                    <td class="text-center">
                      <span style="line-height: 32px">相似文章：</span>
                    </td>
                    <td class="mailbox-name single-choice">
                        <button class="btn btn-warning">合并</button>
                        <button class="btn btn-default">不合并</button>
                    </td>
                    <td class="mailbox-date"></td>
                  </tr>
                  <tr>
                    <td class="text-center">
                      <span style="line-height: 32px">网站来源：</span>
                    </td>
                    <td class="mailbox-name single-choice">
                        <button class="btn btn-default select-all">全部</button>
                        <button class="btn btn-warning">省内</button>
                        <button class="btn btn-default">省外</button>
                        <button class="btn btn-default">贴吧</button>
                    </td>
                    <td class="mailbox-date"></td>
                  </tr>
                  <tr>
                    <td class="text-center">
                      <span style="line-height: 32px">结果呈现：</span>
                    </td>
                    <td class="mailbox-name single-choice">
                        <button class="btn btn-warning">精准信息</button>
                        <button class="btn btn-default">全部信息</button>
                    </td>
                    <td class="mailbox-date"></td>
                  </tr>
                  <tr>
                    <td class="text-center">
                      <span style="line-height: 32px">转发微博：</span>
                    </td>
                    <td class="mailbox-name single-choice">
                        <button class="btn btn-warning">显示</button>
                        <button class="btn btn-default">不显示</button>
                    </td>
                    <td class="mailbox-date"></td>
                  </tr>
                </tbody>
              </table>
            </div>
          </div>
          <div class="panel panel-default" style="margin-top: -22px;">
            <div class="panel-heading">
              预警方式设置
            </div>
            <div class="panel-body">
              <div class="nav-tabs-custom">
                <div class="clearfix">
                    <span class="pull-left text-center" style="width: 150px;line-height: 40px;">预警方式：</span>
                    <ul class="nav nav-tabs pull-left">
                      <li data-toggle="tooltip" title="邮件预警">
                          <a href="#item1" class="btn btn-lg btn-default" data-toggle="tab" aria-expanded="true">
                              <i class="glyphicon glyphicon-envelope tb-01"></i>
                          </a>
                      </li>
                      <li data-toggle="tooltip" title="短信预警">
                          <a href="#item2" class="btn btn-lg btn-default" data-toggle="tab" aria-expanded="false">
                              <i class="glyphicon glyphicon-comment tb-02"></i></a>
                          </li>
                      <li data-toggle="tooltip" title="客户端推送">
                        <a href="#item3" class="btn btn-lg btn-default" data-toggle="tab" aria-expanded="false">
                          <i class="glyphicon glyphicon-phone tb-03"></i>
                        </a>
                      </li>
                      <li data-toggle="tooltip" title="PC弹窗预警">
                          <a href="#item4" class="btn btn-lg btn-default" data-toggle="tab" aria-expanded="false">
                              <i class="glyphicon glyphicon-blackboard tb-04 text-red"></i>
                          </a>
                      </li>
                    </ul>
                </div>
                <div class="tab-content no-padding" style="max-width: 600px;">
                  <div class="tab-pane" id="item1">
                    <div class="row">
                      <div class="col-sm-1"></div>
                      <div class="col-sm-10">
                        <div class="panel panel-info">
                          <div class="panel-heading clearfix">
                              <span class="pull-left" style="line-height: 26px;margin: 0 10px;"><i class="glyphicon glyphicon-envelope"></i>邮件预警</span>
                              <div data-id="tb-01" class="bg_con pull-left">
                                  <input id="checked_1" type="checkbox" class="switch" />
                                  <label for="checked_1" class="label-c"></label>
                              </div>
                              <button title="添加新邮件地址" data-target="#myModal" data-toggle="modal" type="button" class="btn btn-info btn-sm pull-right">
                                <i class="fa fa-plus"></i>
                              </button>
                          </div>
                          <div class="panel-body">
                              <div class="btn btn-default all-select">
                                <i class="fa fa-check-square-o"></i>全选
                              </div>
                              <div class="btn btn-default">
                                <i class="fa fa-trash-o"></i>
                              </div>
                          </div>
                        </div>
                      </div>
                      <div class="col-sm-1"></div>
                    </div>
                  </div>
                  <div class="tab-pane" id="item2">
                      <div class="row">
                        <div class="col-sm-1"></div>
                        <div class="col-sm-10">
                          <div class="panel panel-info">
                            <div class="panel-heading clearfix">
                              <span class="pull-left" style="line-height: 26px;margin: 0 10px;"><i class="glyphicon glyphicon-envelope"></i>短信预警</span>
                              <div data-id="tb-02" class="bg_con pull-left">
                                  <input id="checked_2" type="checkbox" class="switch" />
                                  <label for="checked_2" class="label-c"></label>
                              </div>
                              <button title="添加新手机" data-target="#myModal" data-toggle="modal" type="button" class="btn btn-info btn-sm pull-right">
                                <i class="fa fa-plus"></i>
                              </button>
                            </div>
                            <div class="panel-body">
                                <div class="btn btn-default all-select">
                                  <i class="fa fa-check-square-o"></i>全选
                                </div>
                                <div class="btn btn-default">
                                  <i class="fa fa-trash-o"></i>
                                </div>
                            </div>
                          </div>
                        </div>
                        <div class="col-sm-1"></div>
                      </div>
                  </div>
                  <div class="tab-pane" id="item3">
                      <div class="row">
                        <div class="col-sm-1"></div>
                        <div class="col-sm-10">
                          <div class="panel panel-info">
                            <div class="panel-heading clearfix">
                              <span class="pull-left" style="line-height: 26px;margin: 0 10px;">
                                  <i class="glyphicon glyphicon-phone"></i>客户端预警
                              </span>
                              <div data-id="tb-03" class="bg_con pull-left">
                                  <input id="checked_3" type="checkbox" class="switch" />
                                  <label for="checked_3" class="label-c"></label>
                              </div>
                            </div>
                            <div class="panel-body">
                                <div class="btn btn-default all-select">
                                  <i class="fa fa-check-square-o"></i>全选
                                </div>
                                <div class="btn btn-default">
                                  <i class="fa fa-trash-o"></i>
                                </div>
                            </div>
                          </div>
                        </div>
                        <div class="col-sm-1"></div>
                      </div>
                  </div>
                  <div class="tab-pane" id="item4">
                      <div class="row">
                        <div class="col-sm-1"></div>
                        <div class="col-sm-10">
                          <div class="panel panel-info">
                            <div class="panel-heading clearfix">
                                <span class="pull-left" style="line-height: 26px;margin: 0 10px;">
                                    <i class="glyphicon glyphicon-blackboard text-red"></i>PC预警
                                </span>
                                <div data-id="tb-04" class="bg_con pull-left">
                                    <input id="checked_4" type="checkbox" class="switch" />
                                    <label for="checked_4" class="label-c"></label>
                                </div>
                            </div>
                            <div class="panel-body">
                                <div class="btn btn-default all-select">
                                  <i class="fa fa-check-square-o"></i>全选
                                </div>
                                <div class="btn btn-default">
                                  <i class="fa fa-trash-o"></i>
                                </div>
                            </div>
                          </div>
                        </div>
                        <div class="col-sm-1"></div>
                      </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
          <div class="panel panel-default" style="margin-top: -22px;">
              <div class="panel-heading">
                预警时间设置
              </div>
              <div class="panel-body">
                <table class="table table_cb table-hover">
                  <tbody>
                    <tr>
                      <td class="text-center" style="width: 150px;">
                        <span style="line-height: 32px">接收时间：</span>
                      </td>
                      <td class="mailbox-name">
                         <form action="" class="form-inline">
                           <div class="form-group">
                            <select name="" id="" class="form-control" style="width: 150px;">
                              <option value="00:00">
                                  00:00
                              </option>
                              <option value="01:00">
                                  01:00
                              </option>
                              <option value="02:00">
                                  02:00
                              </option>
                              <option value="03:00">
                                  03:00
                              </option>
                              <option value="04:00">
                                  04:00
                              </option>
                              <option value="05:00">
                                  05:00
                              </option>
                              <option value="06:00">
                                  06:00
                              </option>
                              <option value="07:00">
                                  07:00
                              </option>
                              <option value="08:00" selected="selected">
                                  08:00
                              </option>
                              <option value="09:00">
                                  09:00
                              </option>
                              <option value="10:00">
                                  10:00
                              </option>
                              <option value="11:00">
                                  11:00
                              </option>
                              <option value="12:00">
                                  12:00
                              </option>
                              <option value="13:00">
                                  13:00
                              </option>
                              <option value="14:00">
                                  14:00
                              </option>
                              <option value="15:00">
                                  15:00
                              </option>
                              <option value="16:00">
                                  16:00
                              </option>
                              <option value="17:00">
                                  17:00
                              </option>
                              <option value="18:00">
                                  18:00
                              </option>
                              <option value="19:00">
                                  19:00
                              </option>
                              <option value="20:00">
                                  20:00
                              </option>
                              <option value="21:00">
                                  21:00
                              </option>
                              <option value="22:00">
                                  22:00
                              </option>
                              <option value="23:00">
                                  23:00
                              </option>
                              <option value="24:00">
                                  24:00
                              </option>
                            </select>
                           </div>
                           <div class="form-group">
                             --
                           </div>
                           <div class="form-group">
                            <select name="" id="" class="form-control" style="width: 150px;">
                                <option value="00:00">
                                    00:00
                                </option>
                                <option value="01:00">
                                    01:00
                                </option>
                                <option value="02:00">
                                    02:00
                                </option>
                                <option value="03:00">
                                    03:00
                                </option>
                                <option value="04:00">
                                    04:00
                                </option>
                                <option value="05:00">
                                    05:00
                                </option>
                                <option value="06:00">
                                    06:00
                                </option>
                                <option value="07:00">
                                    07:00
                                </option>
                                <option value="08:00">
                                    08:00
                                </option>
                                <option value="09:00">
                                    09:00
                                </option>
                                <option value="10:00">
                                    10:00
                                </option>
                                <option value="11:00">
                                    11:00
                                </option>
                                <option value="12:00">
                                    12:00
                                </option>
                                <option value="13:00">
                                    13:00
                                </option>
                                <option value="14:00">
                                    14:00
                                </option>
                                <option value="15:00">
                                    15:00
                                </option>
                                <option value="16:00">
                                    16:00
                                </option>
                                <option value="17:00">
                                    17:00
                                </option>
                                <option value="18:00">
                                    18:00
                                </option>
                                <option value="19:00">
                                    19:00
                                </option>
                                <option value="20:00">
                                    20:00
                                </option>
                                <option value="21:00">
                                    21:00
                                </option>
                                <option value="22:00">
                                    22:00
                                </option>
                                <option value="23:00">
                                    23:00
                                </option>
                                <option value="24:00" selected="selected">
                                    24:00
                                </option>
                            </select>
                           </div>
                         </form>
                      </td>
                      <td class="mailbox-date"></td>
                    </tr>
                    <tr>
                      <td class="text-center" style="width: 150px;">
                        <span style="line-height: 32px">预警间隔：</span>
                      </td>
                      <td class="mailbox-name single-choice">
                        <button class="btn btn-warning" id="fix_time_yj">定时预警</button>
                        <button class="btn btn-default" id="all_time_yj">实时预警</button>
                        <div id="time_slider" style="max-width: 600px;margin-top: 15px;">
                          <input id="range_demo" type="text" name="range_demo" value="">
                        </div>
                      </td>
                      <td class="mailbox-date"></td>
                    </tr>
                    <tr>
                      <td class="text-center" style="width: 150px;">
                        <span style="line-height: 32px">周末预警：</span>
                      </td>
                      <td class="mailbox-name single-choice">
                          <button class="btn btn-warning">周末预警</button>
                          <button class="btn btn-default">周末不预警</button>
                      </td>
                      <td class="mailbox-date"></td>
                    </tr>
                  </tbody>
                </table>
              </div>
            </div>
            <div class="panel panel-default" style="margin-top: -22px;">
              <div class="panel-heading">
                预警词
                <span data-toggle="tooltip" title="支持输入3组词，每组以空格分开。检测方案中，匹配预警词的信息才会被预警">
                  <i class="fa fa-question-circle"></i>
                </span>
              </div>
              <div class="panel-body">
                <table class="table table_cb table-hover">
                  <tbody>
                    <tr>
                      <td class="text-center" style="width: 30px;"></td>
                      <td class="mailbox-name">
                        <input type="text" placeholder="支持输入3组，每组以空格分开" style="max-width: 300px;" class="form-control">
                      </td>
                      <td class="mailbox-date"></td>
                    </tr>
                  </tbody>
                </table>
              </div>
            </div>
            <div class="text-center" 
            style="margin-top: -22px;padding: 10px 15px;
                   background-color: #f5f5f5;
                   border: 1px solid #ddd;
                   border-bottom-right-radius: 3px;
                   border-bottom-left-radius: 3px;">
            <button type="button" class="btn btn-success">确定</button>
            <a href="javascript:history.go(-1)" class="btn btn-danger">取消</a>
          </div>
        </section>
      </div>

      <!-- Main Footer -->
      <footer class="main-footer">
        <!-- To the right -->
        <div class="pull-right hidden-xs">
          Anything you want
        </div>
        <!-- Default to the left -->
        <strong>Copyright &copy; 2015 <a href="#">Company</a>.</strong> All rights reserved.
      </footer>

      <!-- Control Sidebar -->
      <aside class="control-sidebar control-sidebar-dark">
        <!-- Create the tabs -->
        <ul class="nav nav-tabs nav-justified control-sidebar-tabs">
          <li class="active"><a href="#control-sidebar-home-tab" data-toggle="tab"><i class="fa fa-home"></i></a></li>
          <li><a href="#control-sidebar-settings-tab" data-toggle="tab"><i class="fa fa-gears"></i></a></li>
        </ul>
        <!-- Tab panes -->
        <div class="tab-content">
          <!-- Home tab content -->
          <div class="tab-pane active" id="control-sidebar-home-tab">
            <h3 class="control-sidebar-heading">Recent Activity</h3>
            <ul class="control-sidebar-menu">
              <li>
                <a href="javascript::;">
                  <i class="menu-icon fa fa-birthday-cake bg-red"></i>
                  <div class="menu-info">
                    <h4 class="control-sidebar-subheading">Langdon's Birthday</h4>
                    <p>Will be 23 on April 24th</p>
                  </div>
                </a>
              </li>
            </ul><!-- /.control-sidebar-menu -->

            <h3 class="control-sidebar-heading">Tasks Progress</h3>
            <ul class="control-sidebar-menu">
              <li>
                <a href="javascript::;">
                  <h4 class="control-sidebar-subheading">
                    Custom Template Design
                    <span class="label label-danger pull-right">70%</span>
                  </h4>
                  <div class="progress progress-xxs">
                    <div class="progress-bar progress-bar-danger" style="width: 70%"></div>
                  </div>
                </a>
              </li>
            </ul><!-- /.control-sidebar-menu -->

          </div><!-- /.tab-pane -->
          <!-- Stats tab content -->
          <div class="tab-pane" id="control-sidebar-stats-tab">Stats Tab Content</div><!-- /.tab-pane -->
          <!-- Settings tab content -->
          <div class="tab-pane" id="control-sidebar-settings-tab">
            <form method="post">
              <h3 class="control-sidebar-heading">General Settings</h3>
              <div class="form-group">
                <label class="control-sidebar-subheading">
                  Report panel usage
                  <input type="checkbox" class="pull-right" checked>
                </label>
                <p>
                  Some information about this general settings option
                </p>
              </div><!-- /.form-group -->
            </form>
          </div><!-- /.tab-pane -->
        </div>
      </aside><!-- /.control-sidebar -->
      <!-- Add the sidebar's background. This div must be placed
           immediately after the control sidebar -->
      <div class="control-sidebar-bg"></div>

      <!-- 联系人来自通讯录 -->
      <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog">
          <div class="modal-content">
            <div class="modal-header">
              <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
              <h4 class="modal-title" id="myModalLabel9">联系人来自通讯录</h4>
            </div>
            <div class="modal-body">
              <table class="table table-bordered">
                <thead>
                  <tr>
                    <th>姓名</th>
                    <th>邮箱</th>
                    <th>手机</th>
                    <th>微信</th>
                    <th>状态</th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td>
                      <input type="checkbox">
                      <lable>张三</lable>
                    </td>
                    <td>123@q1.con</td>
                    <td>15862374549</td>
                    <td></td>
                    <td>
                      <a data-toggle="modal" href="#addNewCustorm">修改</a>
                    </td>
                  </tr>
                  <tr>
                    <td>
                      <input type="checkbox">
                      <lable>张三</lable>
                    </td>
                    <td>123@q1.con</td>
                    <td>15862374549</td>
                    <td></td>
                    <td>
                        <a data-toggle="modal" href="#addNewCustorm">修改</a>
                    </td>
                  </tr>
                </tbody>
              </table>
            </div>
            <div class="modal-footer" style="margin-top: 10px;">
              <div class="text-center">
                  <button type="button" class="btn btn-warning">
                    确定
                  </button>
                  <button type="button" class="btn btn-default" data-dismiss="modal">
                    取消
                  </button>
                  <button type="button" data-toggle="modal" data-target="#addNewCustorm" class="btn btn-success">
                    添加新用户
                  </button>
              </div>
            </div>
          </div>
        </div>
      </div> <!-- /.联系人来自通讯录 -->
      <!-- 添加新联系人 -->
      <div id="addNewCustorm" class="modal fade" style="display: none;">
        <div class="modal-dialog">
          <div class="modal-content">
            <div class="modal-header" style="top: -52px;">
                <a class="close" data-dismiss="modal">×</a>
                <h4 class="modal-title">新增通讯记录</h4>
            </div>
            <div class="modal-body">
              <form class="form-horizontal">
                <div class="form-group">
                  <label for="inputEmail38" class="col-sm-2 control-label">姓名</label>
                  <div class="col-sm-10">
                    <input type="text" class="form-control" id="inputEmai38" placeholder="请输入姓名">
                  </div>
                </div>
                <div class="form-group">
                  <label for="inputEmai39" class="col-sm-2 control-label">Email</label>
                  <div class="col-sm-10">
                    <input type="email" class="form-control" id="inputEmai39" placeholder="请输入邮箱">
                  </div>
                </div>
                <div class="form-group">
                  <label for="inputEmai40" class="col-sm-2 control-label">手机号码</label>
                  <div class="col-sm-10">
                    <input type="number" class="form-control" id="inputEmai40" placeholder="请输入手机号码">
                  </div>
                </div>
                            <div class="form-group">
                  <label for="inputEmail41" class="col-sm-2 control-label">微信号</label>
                  <div class="col-sm-10">
                    <input type="text" class="form-control" id="inputEmai41" placeholder="请输入微信号">
                  </div>
                </div>
                <div class="form-group">
                  <label for="inputEmail42" class="col-sm-2 control-label">单位名称</label>
                  <div class="col-sm-10">
                    <input type="text" class="form-control" id="inputEmai42" placeholder="请输入单位名称">
                  </div>
                </div>
                <div class="form-group">
                  <label for="inputEmail43" class="col-sm-2 control-label">备注信息</label>
                  <div class="col-sm-10">
                    <input type="text" class="form-control" id="inputEmai43" placeholder="请输入备注信息">
                  </div>
                </div>
                <div class="form-group">
                  <div class="col-sm-offset-2 col-sm-10 text-center">
                    <button type="submit" class="btn btn-warning">提交</button>
                    <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                  </div>
                </div>
              </form>
           </div>
          </div>
        </div>
      </div> <!-- /. 添加新联系人 -->


    </div><!-- ./wrapper -->

    <!-- REQUIRED JS SCRIPTS -->

    <!-- jQuery 2.1.4 -->
    <script src="../../plugins/jQuery/jQuery-2.1.4.min.js"></script>
    <!-- Bootstrap 3.3.5 -->
    <script src="../../bootstrap/js/bootstrap.min.js"></script>
    <!-- AdminLTE App -->
    <script src="../../dist/js/app.min.js"></script>
    <script src="../../plugins/ionslider/ion.rangeSlider.min.js"></script>
    <!-- Bootstrap slider -->
    <script src="../../plugins/bootstrap-slider/bootstrap-slider.js"></script>
    <script>
      // 预警开关
      $('.table_switch td button').on('click', function(){
        $(this).removeClass('btn-default').addClass('btn-warning')
              .siblings().addClass('btn-default').removeClass('btn-warning');

        var $Text = $(this).html();
        // alert($Text)
        if($Text == '关闭'){
          $(this).parents('.panel').siblings('.panel').hide();
        }else{
          $(this).parents('.panel').siblings('.panel').show();
        }
      })
      $('.table_cb td.single-choice button').on('click', function(){
        $(this).parent('td').find('button').removeClass('btn-warning').addClass('btn-default');
        $(this).removeClass('btn-default').addClass('btn-warning');
      })
      // 预警来源  多选
      $('.table_cb td.multiple-choice button').on('click', function(){
        $(this).removeClass('btn-default').addClass('btn-warning');
      })

      // 全选
      var isAdd = true;
      $('.all-select').click(function(){
        isAdd ? $(this).removeClass('btn-default').addClass('btn-warning') : $(this).removeClass('btn-warning').addClass('btn-default');

        isAdd = !isAdd;
      })
      // 开关效果

      $('.bg_con').on('click', function(ev){
        ev.stopPropagation();
        var tId = $(this).data('id');
          console.log(tId)

          console.log($('.nav-tabs').find('.' + tId).find('.glyphicon').hasClass('text-red'))

          // var status = $('#checkbox').is(':checked');
      })
      // 全选
      var bFlag = true;
      $('.select-all').on('click', function(){
        if(bFlag){
          $(this).addClass('btn-warning').removeClass('btn-default')
                 .siblings('button').addClass('btn-warning').removeClass('btn-default');
        }else{
          $(this).removeClass('btn-warning').addClass('btn-default')
                 .siblings('button').removeClass('btn-warning').addClass('btn-default');
        }
        bFlag = !bFlag;
      })
      // 预警间隔类型选择
      $('#fix_time_yj').click(function(event) {
        $('#time_slider').slideDown();
      });
      $('#all_time_yj').click(function(event) {
        $('#time_slider').slideUp();
      });
      // 滑块
      $('.slider').slider();
      $("#range_demo").ionRangeSlider({
          min: 0,
          max: 8,
          type: 'single',
          step: 0.5,
          from: 5,
          postfix: " 小时",
          prettify: false,
          hasGrid: true
        });
    </script>
  </body>
</html>
